public class Chapter06 {
    public static void main(String[] args) {
       for(int x =1;x<=94;x++){
           for(int y = 1;y<=93;y++){
               for (int z = 1;z<=93;z++){
                   if (x*y+z==94&&x+y*z==95)
                   System.out.println(x+"\t"+y+"\t"+z);
               }
           }
       }






    }
}
